<include file="Public/header"/>
<div class="xywx-wrap">
    <div class="xywx news-body">
        <div class="xywx-top">
            <a href="<?php echo U('News/detail', array('id' => $rec_news['id'])); ?>" class="xynews-top-link">
                <img src="<?php echo $rec_news['pic']; ?>" class="pure-img" alt="<?php echo $rec_news['title']; ?>">
                <span class="imgpop"><?php echo $rec_news['title']; ?></span>
            </a>
        </div>
        <div class="xywx-con">
            <ul class="newslist">
                <?php foreach($list as $item) { ?>
                <li class="newsli">
                    <a href="<?php echo U('News/detail', array('id' => $item['id'])); ?>" class="pure-g newslink clearfix">
                        <span class="pure-u-4-5 newstit"><?php echo $item['title']; ?></span>
                        <span class="pure-u-1-5 newsimg">
                            <img class="pure-img" src="<?php echo $item['pic']; ?>" alt="<?php echo $item['title']; ?>">
                        </span>
                    </a>
                </li>
                <?php } ?>
            </ul>
        </div>
    </div>
</div>
<include file="Public/footer"/>